package com.itgaohe.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itgaohe.dao.entity.Blog;
import com.itgaohe.dto.resp.SearchBlogDTO;
import com.itgaohe.utils.Result;
import org.springframework.stereotype.Service;

import java.util.List;


public interface BlogService extends IService<Blog> {
     public Result getBlogBykeyId(Long cursor);
     public SearchBlogDTO getBlogById(Long id);
     public Result getBlogbyUserId(Long userId,Long cursor);
     public Result getBlogslist(Long cursor);
     public Result likeBlog(Long blogId);
     public Integer blogAllLike(Long blogId);


}
